var express = require('express');
var router = express.Router();

var { login,} = require("../service/adminService")
router.get('/login', async function(req, res, next) {
    // res.render('index', { title: 'Express' });
    var data = req.query;
    res.send(await login(data))
  });
router.get("/getMerchantLists", async function(req,res,next){
    
})
module.exports = router;